load("//bazel:mongo_src_rules.bzl", "idl_generator", "mongo_cc_library")

package(default_visibility = ["//visibility:public"])

exports_files(
    glob([
        "*.h",
        "*.cpp",
    ]),
)

idl_generator(
    name = "impersonated_user_metadata_gen",
    src = "impersonated_user_metadata.idl",
    deps = [
        "//src/mongo/db:basic_types_gen",
        "//src/mongo/db/auth:auth_types_gen",
    ],
)

idl_generator(
    name = "client_metadata_gen",
    src = "client_metadata.idl",
    deps = [
        "//src/mongo/db:basic_types_gen",
    ],
)
